projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06e23d4
)
(x_draw_glyph_string): Stop drawing the background of the next glyph
author
Chong Yidong
<cyd@stupidchicken.com>
Sat, 15 Nov 2008 05:21:20 +0000
(
05:21
+0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Sat, 15 Nov 2008 05:21:20 +0000
(
05:21
+0000)
string once past the overhang width.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 2a0f783580e0deee57e6659e02718a0a8b1d3740..7f0c0b5aba2c56204509a6c8183e44ec038054ba 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-2653,7
+2653,8
@@
x_draw_glyph_string (s)
int width;
struct glyph_string *next;
- for (width = 0, next = s->next; next;
+ for (width = 0, next = s->next;
+ next && width < s->right_overhang;
width += next->width, next = next->next)
if (next->first_glyph->type != IMAGE_GLYPH)
{